package com.ruoyi.platform.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 车机端更新对象 tb_vehicle
 * 
 * @author ruoyi
 * @date 2025-08-18
 */
public class TbVehicle extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 应用ID */
    private Long driverId;

    /** 车机端APP名称 */
    @Excel(name = "车机端APP名称")
    private String vehicleAppName;

    /** 车机端APP版本号 */
    @Excel(name = "车机端APP版本号")
    private String vehicleAppVersions;

    /** versioncode */
    @Excel(name = "versioncode")
    private String codeNum;

    /** 安装包 */
    @Excel(name = "安装包")
    private String appUpload;

    /** 更新文案 */
    @Excel(name = "更新文案")
    private String updateCopy;

    /** 上传时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "上传时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date uploadTime;

    /** 操作人 */
    @Excel(name = "操作人")
    private Long userId;

    public void setDriverId(Long driverId) 
    {
        this.driverId = driverId;
    }

    public Long getDriverId() 
    {
        return driverId;
    }

    public void setVehicleAppName(String vehicleAppName) 
    {
        this.vehicleAppName = vehicleAppName;
    }

    public String getVehicleAppName() 
    {
        return vehicleAppName;
    }

    public void setVehicleAppVersions(String vehicleAppVersions) 
    {
        this.vehicleAppVersions = vehicleAppVersions;
    }

    public String getVehicleAppVersions() 
    {
        return vehicleAppVersions;
    }

    public void setCodeNum(String codeNum) 
    {
        this.codeNum = codeNum;
    }

    public String getCodeNum() 
    {
        return codeNum;
    }

    public void setAppUpload(String appUpload) 
    {
        this.appUpload = appUpload;
    }

    public String getAppUpload() 
    {
        return appUpload;
    }

    public void setUpdateCopy(String updateCopy) 
    {
        this.updateCopy = updateCopy;
    }

    public String getUpdateCopy() 
    {
        return updateCopy;
    }

    public void setUploadTime(Date uploadTime) 
    {
        this.uploadTime = uploadTime;
    }

    public Date getUploadTime() 
    {
        return uploadTime;
    }

    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("driverId", getDriverId())
            .append("vehicleAppName", getVehicleAppName())
            .append("vehicleAppVersions", getVehicleAppVersions())
            .append("codeNum", getCodeNum())
            .append("appUpload", getAppUpload())
            .append("updateCopy", getUpdateCopy())
            .append("uploadTime", getUploadTime())
            .append("updateTime", getUpdateTime())
            .append("userId", getUserId())
            .toString();
    }
}
